<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    {:token()}
    <div class="form-group">
        <label for="c-pid" class="control-label col-xs-12 col-sm-2">{:__('Pid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select id="c-pid" data-rule="required" class="form-control selectpicker" name="row[pid]">
                {foreach name="parentList" item="vo"}
                <option data-type="{$vo.id}" value="{$key}" {in name="key" value="$row.pid" }selected{/in}>{$vo.name}
                </option>
                {/foreach}
            </select>
        </div>
    </div>
    <div class="form-group">
        <label for="c-pid" class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">
        </div>
    </div>

    <!-- <div class="form-group" data-favisible="pid>0">
        <label class="control-label col-xs-12 ">本人规定时间消费金额（元）(降级):</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-range" class="form-control" name="row[downgrade_amount]" type="number"
                value="{$row.downgrade_amount|htmlentities}">
        </div>
    </div>
    <div class="form-group" data-favisible="pid>0">
        <label class="control-label col-xs-12 col-sm-2">直推用户数量:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-direct_num" class="form-control" name="row[direct_num]"
                type="number" value="{$row.direct_num|htmlentities}">
        </div>
    </div>
    <div class="form-group" data-favisible="pid>0">
        <label class="control-label col-xs-12 col-sm-2">直推用户等级大于等于自己数量:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-num" class="form-control" name="row[num]" type="number"
            value="{$row.num|htmlentities}">
        </div>
    </div>
    <div class="form-group" data-favisible="pid>0">
        <label class="control-label col-xs-12 col-sm-2">升级规定时间（天）:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-day" class="form-control" name="row[day]" type="number"
            value="{$row.day|htmlentities}">
        </div>
    </div>
    <div class="form-group" data-favisible="pid>0">
        <label class="control-label col-xs-12 col-sm-2">本人规定时间消费金额（元）(升级):</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-personal_amount" class="form-control"
                name="row[personal_amount]" type="number" value="{$row.personal_amount|htmlentities}">
        </div>
    </div>
    <div class="form-group" data-favisible="pid>0">
        <label class="control-label col-xs-12 col-sm-2">团队规定时间消费金额（元）:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-team_amount" class="form-control" name="row[team_amount]" type="number" value="{$row.team_amount|htmlentities}">
        </div>
    </div> -->
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>